<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="application/xml; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="poketrade.entities.Carte,java.util.List" %>
    
    <%
    List<Carte> cards = (List<Carte>) request.getAttribute("cards");
    %>
<rows> 
	<page>1</page> 
	<total>1</total> 
	<records><%=cards.size() %></records>
	<%
	for (Carte c : cards) {
	%> 
	<row id = "<%=c.getCardIndex()%>"> 
		<cell><%=c.getNom() %></cell>
	</row>
	<%
	}
	%> 
</rows>

    